﻿using UnityEngine;
using System.Collections;

public class MoveSight : MonoBehaviour
{

    // Use this for initialization
    void Start()
    {
        transform.position = Calculate.GetMousePos();
    }

    // Update is called once per frame
    void Update()
    {
        Calculate.RotToDest(gameObject ,Camera.main.ScreenToWorldPoint(Input.mousePosition));
    }
}
